Path Constraints for Databases With or Without Schemas
نویسنده
چکیده
This dissertation introduces a path constraint language and investigates its associated implication and finite implication problems. This path constraint language has proven useful in a variety of database contexts, ranging from semistructured data as found for instance on the Web, to structured data such as data in object-oriented databases. It is capable of expressing natural integrity constraints that are not only a fundamental part of the semantics of the data, but are also important in query optimization. Path constraint implication is investigated for two models for semistructured data: the semistructured data model and the deterministic data model. Databases in these models are unconstrained by any type system or schema. For the semistructured data model, it is shown that, despite the simple syntax of the constraint language, its associated implication problem is r.e. complete and its finite implication problem is co-r.e. complete. However, in light of these undecidability results, several decidable fragments of the constraint language are identified. These fragments suffice to express many important integrity constraints such as referential integrity, inverse relationships and local database constraints. For the deterministic data model, it is shown that the implication and finite implication problems for the path constraint language are finitely axiomatizable and decidable in cubic-time. Path constraint implication is also studied for structured data, i.e., data constrained by a schema. In the context of three practical object-oriented data models, a number of complexity results on the implication and finite implication problems for the path constraint language are established. In addition, the interaction between path constraints and type systems is investigated. It is demonstrated that adding a type to the data may in some cases simplify the analysis of path constraint implication, and in other cases make it harder. More specifically, it is shown that there is a path constraint implication problem that is decidable in PTIME in the untyped context, but that becomes undecidable when a type system is added. On the other hand, there is an implication problem that is undecidable in the untyped context, but becomes not only decidable in cubictime but also finitely axiomatizable when a type system is imposed. Comments University of Pennsylvania Institute for Research in Cognitive Science Technical Report No. IRCS-99-04. This thesis or dissertation is available at ScholarlyCommons: http://repository.upenn.edu/ircs_reports/43 PATH CONSTRAINTS FOR DATABASES WITH OR WITHOUT SCHEMAS
منابع مشابه
A Domain Integrity Constraint Control for XML Documents
Integrity constraints for XML documents are mainly defined through XML schemas: DTD and XML Schema. However, XML schemas do not have support for all existing kinds of domain integrity constraints in SQL databases. This paper presents a control called XDC that aims at supporting domain integrity constraints that cannot be handled by XML schemas. It is composed by an XML language for domain integ...
متن کاملFunctional Dependencies for Object Databases
There is an increasing use of object oriented methods (e.g. [Ru91], [UML97]) for the design of database applications and databases themselves. Like the Entity–Relationship model and its variants, structural models of these methods provide rich modelling concepts for specifying object schemas. Some kinds of integrity constraints, e.g. referential integrity constraints or cardinality constraints ...
متن کاملSemistructured data schemas with expressive constraints
Recently, there have been several proposals of formalisms for modeling semistructured data, which is data that is neither raw, nor strictly typed as in conventional database systems. Semistructured data models are graph-based models, where graphs are used to represent both databases and schemas. We study the basic problem of schema subsumption, which amounts to check whether all databases confo...
متن کاملMapping DTDs to relational schemas with semantic constraints
XML is becoming a prevalent format and standard for data exchange in many applications. With the increase of XML data, there is an urgent need to research some efficient methods to store and manage XML data. As relational databases are the primary choices for this purpose considering their data management power, it is necessary to research the problem of mapping XML schemas to relational schema...
متن کاملInvestigating the structural relationship between attachment styles and childhood trauma with a tendency to extramarital relationships: The mediating role of emotional schemas
The aim of this study was to investigate the mediating role of emotional schemas in the relationship between attachment styles and childhood trauma with a tendency to extramarital relationships. The research method was descriptive-correlational. The statistical population of the present study consisted of all married students of Guilan University in the academic year 1399-1400, which included 2...
متن کامل